package com.hs.shirodemo01.mapper;

import com.hs.shirodemo01.pojo.TbPermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 郭敖
 * @since 2023-08-18
 */
@Mapper
public interface TbPermissionMapper extends BaseMapper<TbPermission> {
    List<TbPermission> getMenu();
    List<TbPermission> getChildren(Integer id);
}
